home *** CD-ROM | disk | FTP | other *** search
/ Amiga News 95 / Amiga News 95.iso / dpat / dpat20 / installation.english < prev    next >
AmigaDOS Script File  |  1992-12-26  |  3KB  |  82 lines

  1. .key param
  2.  
  3. ;here is DP Managing 3.0 script installation
  4.  
  5. ;Author : David Scrève
  6. ;Version : 3.0
  7. ;Revision : 7.0
  8. ;Date : 92-12-22
  9. ;Size : 2823 Bytes
  10.  
  11. ; CopyRight David Scrève © 1992
  12. ;All Rights Reserved
  13. Failat 20
  14.  
  15. ;this script must be execute from DF0: with a complete OS 2.04
  16.  
  17. echo "Installing DP Managing 3.0 in : "<param>
  18. echo "CopyRight David Scrève © 1992"
  19. echo "All Rights Reserved."
  20. echo "This material is shareware. It's prohibited to use it if you don't"
  21. echo "register and if you don't pay the shareware."
  22. Ask "Are you sure you want to continue (Y/N) ?"
  23. if WARN
  24.     Version >NIL: exec.library 37
  25.     If WARN
  26.         Echo "DP Managing requires un Kickstart V37 or higher : Can't install DP Managing."
  27.         echo "Installation canceled..."
  28.        else
  29.         Version >NIL: LIBS:reqtools.library
  30.         If NOT ERROR
  31.              Echo "Version of reqtools.library already installed :"
  32.              Version LIBS:reqtools.library
  33.              Echo ""
  34.         EndIf
  35.         Ask "Install special version Kickstart 2.0 of reqtools.library (38.810) ?"
  36.             If WARN
  37.                  Copy ":libs/reqtools.library" LIBS:reqtools.library
  38.                  Avail >NIL: FLUSH
  39.                  Echo "*nreqtools.library (version for 2.0) installed."
  40.             EndIf
  41.         Avail >NIL: FLUSH
  42.       cd "<param>"
  43.  
  44.       makedir "DP Managing" >Nil:
  45.       copy df0:Icon/directory.info "DP Managing.info"
  46.       cd "DP Managing"
  47.       copy df0:muchmore c:muchmore
  48.       copy "df0:documentation/DP Managing.English.info" "DP Managing.doc.info"
  49.       copy "df0:documentation/DP Managing.English" "DP Managing.doc"
  50.       copy "df0:UserStyle.doc" "UserStyle.doc"
  51.       copy "df0:UserStyle.doc.info" "UserStyle.doc.info"
  52.       copy "df0:UpDate/3.0 UpDate.English" "3.0 Update.doc"
  53.       copy "df0:UpDate/3.0 UpDate.English.info" "3.0 UpDate.doc.info"
  54.       copy "df0:Icon/DPManaging_English.info" "DP Managing.info"
  55.       makedir Adherent >Nil:
  56.       makedir Disque   >Nil:
  57.       makedir Categorie >NIL:
  58.       makedir Tempdir  >NIL:
  59.       cpu check 68020 >NIL:
  60.       if NOT WARN
  61.            echo "MC 68020 détected"
  62.            Ask "Install special version compiled for 68020 (Y/N) ?"
  63.              if WARN
  64.                  copy "DP Managing.info" "DP Managing 020.info"
  65.                  delete >NIL: "DP Managing.info"
  66.                  copy "df0:DPManaging 3.0-020" "DP Managing 020"
  67.                else
  68.                  echo "Install normal version compiled for MC 68000..."
  69.                  copy "df0:DPManaging 3.0" "DP Managing"
  70.                 endif
  71.          else
  72.            echo "No MC 68020 détected"
  73.            echo "Install normal version compiled for MC 68000..."
  74.            copy "df0:DPManaging 3.0" "DP Managing"
  75.       Endif
  76.       echo "Installation complete."
  77.     Endif
  78.   else
  79.     echo "Installation canceled..."
  80. endif
  81.  
  82.